/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for CauhoiBL
/// </summary>
namespace DOAN.BL 
{
    public class CauhoiBL 
    {
    	#region Private Variables
		CauhoiDAL objCauhoiDAL;
		#endregion
		
        #region Public Constructors
        public CauhoiBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objCauhoiDAL=new CauhoiDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(CauhoiDO objCauhoiDO)
        {
            return objCauhoiDAL.Insert(objCauhoiDO);
        }

        public DataTable TaoDe(string mon, int kho, int tb, int de)
        {
            return objCauhoiDAL.TaoDe(mon, kho, tb, de);
        }
        public DataTable TaoDe2(string mon, int c1, int c2, int c3, int c4, int c5, int c6, int c7, int c8, int c9, int c10)
        {
            return objCauhoiDAL.TaoDe2(mon, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10);
        }
        public DataTable GetByMon(string s)
        {
            return objCauhoiDAL.GetByMon(s);
        }
        public int Update(CauhoiDO objCauhoiDO)
        {
             return objCauhoiDAL.Update(objCauhoiDO);

        }

        public DataTable GetCH(string s)
        {
            return objCauhoiDAL.GetCH(s);
        }

        public int Delete(CauhoiDO objCauhoiDO)
        {
             return objCauhoiDAL.Delete(objCauhoiDO);

        }
        public DataTable timkiem(string tk)
        {
            return objCauhoiDAL.Timkiem(tk);
        }

         public int DeleteAll()
        {
             return objCauhoiDAL.DeleteAll();
        }

         public CauhoiDO Select(CauhoiDO objCauhoiDO)
         {
             return objCauhoiDAL.Select(objCauhoiDO);
         }
         public DataTable Select2(CauhoiDO objCauhoiDO)
         {
             return objCauhoiDAL.Select2(objCauhoiDO);
         }

        public ArrayList SelectAll1( )
        {
         return objCauhoiDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objCauhoiDAL.SelectAll();
        }


     
#endregion          
    
    }

}
